package com.atguigu.campusintelligentassistantsystem.repository;

import com.atguigu.campusintelligentassistantsystem.entity.TeacherTitleApply;
import com.atguigu.campusintelligentassistantsystem.entity.TeacherTitleStatus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherTitleApplyRepository extends JpaRepository<TeacherTitleApply, Long> {
    List<TeacherTitleApply> findByStatus(TeacherTitleStatus status);
}